package com.example.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author hlc
 * @version 1.0
 * @date 2022/10/12 8:13
 */
@Data
@Component
@ConfigurationProperties(prefix = "cos")
public class CosConfig {
    private String secretId;
    private String secretKey;
    private String regionName;
    private String bucketName;
    private String baseUrl;
}
